package com.example.tool.activtiy;

import android.support.v7.widget.CardView;
import android.view.View;
import android.widget.TextView;

import com.example.tool.R;
import com.example.tool.activtiy.base.BaseActivity;
import com.example.tool.mvp.CommonPresent;

import butterknife.BindView;

/**
 * Created Date 2019/12/1.
 *
 * @author liangkun
 * ClassDescription：扫描
 */
public class ScanActivity extends BaseActivity<CommonPresent> {
    @BindView(R.id.tv_title)
    protected TextView tvTitle;
    @BindView(R.id.card_one)
    protected CardView cardOne;
    @BindView(R.id.card_two)
    protected CardView cardTwo;

    @Override
    protected int getLayoutId() {
        return R.layout.activtiy_scan;
    }

    @Override
    protected void initView() {
        tvTitle.setText("图片处理View");
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initEvent() {
        cardOne.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startToActivity(ScanActivity.this, Kill360Activity.class);

            }
        });
        cardTwo.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {


            }
        });
    }

    @Override
    protected CommonPresent createPresenter() {
        return null;
    }
}
